{extend name="admin/layout" /}
{block name="main"}
<div id="main-container">
    <div id="breadcrumb">
        <ul class="breadcrumb">
            <li><i class="fa fa-home"></i><a href="/"> 首页</a></li>
            <li><i class="fa fa-desktop"></i><a href="{:url('index')}"> 管理后台</a></li>
            <li class="active">数据导入</li>
        </ul>
    </div><!-- /breadcrumb-->
    <div class="main-header clearfix">
        <div class="page-title">
            <h3 class="no-margin">数据导入</h3>
        </div><!-- /page-title -->
    </div>
    <div class="padding-md">
        <div class="row">
            <div class="col-lg-12">
                <div class="panel panel-warning">
                    <div class="panel-heading text-center">
                        <h5>导入{$title}QQ</h5>
                    </div>
                    <div class="panel-body">
                        <form class="form-horizontal" method="post" enctype="multipart/form-data">
                            <input type="hidden" name="action" value="import">
                            <div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">
                                        QQ列表文件
                                    </div>
                                    <input type="file" name="qqfile" class="form-control">
                                    <input value="你可以上传QQ列表文件，或者直接输入QQ列表" class="form-control" disabled>
                                </div>
                            </div>
                            <div class="list-group-item">
                                <div class="input-group">
                                    <div class="input-group-addon">
                                        QQ列表
                                    </div>
                                    <textarea id="textarea-input" name="qqs" rows="10" class="form-control"
                                              placeholder="一行一个QQ"></textarea>
                                </div>
                            </div>

                            <div class="list-group-item">
                                <input type="submit" name="submit" value="确认导入" class="btn btn-primary btn-block">
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}
